Cover TOC Chap Prev Chap Prev Fig Next Fig Next Chap

Chapter 3: Building and Grouping Predefined Shapes

../ch03/03fig02.gif
Figure 3.2

A box with a small width, a medium height, and a large depth

03fig02.wrl
Click on the image to view the VRML scene.

#VRML V2.0 utf8
# The VRML 2.0 Sourcebook
# Copyright (c) 1997
# Andrea L. Ames, David R. Nadeau, and John L. Moreland
Shape {
    appearance Appearance {
        material Material { }
    }
    geometry Box {
        size 1.0 3.0 5.0
    }
}